using System;
using System.Collections.Generic;
using UnityEngine;

namespace NewScene
{
    public class GameSceneConfig : MonoBehaviour
    {
        [SerializeField] public List<SpaceAssetRef> AssetsInScene;

        private void Awake()
        {
            var assets = GameSpaceAssets.Inst.RefAssetsInSpace;
            foreach (var assetRef in AssetsInScene)
            {
                assets[assetRef.SceneObjKey] = assetRef;
            }
        }
    }
}